package org.javaboy.shiro.mapper;

import org.javaboy.shiro.model.User;

import java.util.Set;

public interface UserMapper {
    User getUserByUsername(String username);

    Set<String> getUserRolesByUsername(String username);

    Set<String> getUserPermsByUsername(String username);
}
